package com.lanou.cart.controller;
import com.lanou.entity.entity.OrderShippingEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 创建人   :卢松
 * 创建时间 :2019-07-23
 **/
@Controller
@RequestMapping("/order")
public class OrderController {

    @PostMapping("/info")
    public void order(OrderShippingEntity orderShippingEntity,
                      String payType,
                      String userOrderCartId,
                      String total){


        System.out.println(orderShippingEntity);
        System.out.println(payType);
        System.out.println(userOrderCartId);
        System.out.println(total);

    }
}
